package com.aiatomic.couting.models;

import java.io.Serializable;
import java.util.Date;

public class OrderEntity implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1334208176753631589L;

	public enum OrderState {
		PAY_ADD, PAY_WAIT, PAY_SUCCESS, PAY_FIN,PAY_CLOSE
	};

	private String gm_order_id;
	private Date created_time_loc;// 下单时间
	private Double real_money;// 实付
	private Double money;// 应付
	private Double price;// 套餐原价格
	private Double discout;// 折扣
	private int give_days;// 应到账天数
	private int real_give_days;// 实到账天数
	private Date payed_time_loc;// 支付时间
	private Date gived_time_loc;// 到账时间
	private String gm_user_id;// id;
	private String gm_user_name;// 账号尼称
	private String gm_account_id;// 账号id;
	private String open_id;// qq,微信账号id
	private OrderState state;// 订单状态
	private String good_id;
	private String good_name;
	private String good_desc;
	

	public String getGood_desc() {
		return good_desc;
	}

	public void setGood_desc(String good_desc) {
		this.good_desc = good_desc;
	}

	public int getReal_give_days() {
		return real_give_days;
	}

	public void setReal_give_days(int real_give_days) {
		this.real_give_days = real_give_days;
	}

	public String getGood_id() {
		return good_id;
	}

	public void setGood_id(String good_id) {
		this.good_id = good_id;
	}

	public String getGood_name() {
		return good_name;
	}

	public void setGood_name(String good_name) {
		this.good_name = good_name;
	}

	public String getGm_order_id() {
		return gm_order_id;
	}

	public void setGm_order_id(String gm_order_id) {
		this.gm_order_id = gm_order_id;
	}

	public Date getCreated_time_loc() {
		return created_time_loc;
	}

	public void setCreated_time_loc(Date created_time_loc) {
		this.created_time_loc = created_time_loc;
	}

	public Double getReal_money() {
		return real_money;
	}

	public void setReal_money(Double real_money) {
		this.real_money = real_money;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getDiscout() {
		return discout;
	}

	public void setDiscout(Double discout) {
		this.discout = discout;
	}

	public int getGive_days() {
		return give_days;
	}

	public void setGive_days(int give_days) {
		this.give_days = give_days;
	}

	public Date getPayed_time_loc() {
		return payed_time_loc;
	}

	public void setPayed_time_loc(Date payed_time_loc) {
		this.payed_time_loc = payed_time_loc;
	}

	public Date getGived_time_loc() {
		return gived_time_loc;
	}

	public void setGived_time_loc(Date gived_time_loc) {
		this.gived_time_loc = gived_time_loc;
	}

	public String getGm_user_id() {
		return gm_user_id;
	}

	public void setGm_user_id(String gm_user_id) {
		this.gm_user_id = gm_user_id;
	}

	public String getGm_user_name() {
		return gm_user_name;
	}

	public void setGm_user_name(String gm_user_name) {
		this.gm_user_name = gm_user_name;
	}

	public String getGm_account_id() {
		return gm_account_id;
	}

	public void setGm_account_id(String gm_account_id) {
		this.gm_account_id = gm_account_id;
	}

	public String getOpen_id() {
		return open_id;
	}

	public void setOpen_id(String open_id) {
		this.open_id = open_id;
	}

	public OrderState getState() {
		return state;
	}

	public void setState(OrderState state) {
		this.state = state;
	}

}
